package com.yanfan.parking.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

import com.yanfan.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * 车流量每小时统计对象 ibms_flow_hour
 *
 * @author kerwincui
 * @date 2024-08-14
 */

@Data
public class IbmsParkingFlowHour implements Serializable{

private static final long serialVersionUID=1L;

    /**
     * 主键id
     */
    @Excel(name = "主键id")
    @TableId(value = "id" , type = IdType.AUTO) // 整型类型使用自增
    private Long id;

    /**
     * 进场车流量
     */
    @Excel(name = "进场车流量")
    private Integer inVehicleFlow;

    /**
     * 进出场标识
     */
    @Excel(name = "进出场标识")
    private Long inOut;

    /**
     * 进场-小时
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "进场-小时" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date inOutTime;

    /**
     * 出场车流量
     */
    @Excel(name = "出场车流量")
    private Integer outVehicleFlow;

//    /**
//     * 出场-小时
//     */
//    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
//    @Excel(name = "出场-小时" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
//    private Date outTime;


}
